<div ng-controller="StoredistributionCtrl" ng-init="listAction()">
    <ul class="sui-breadcrumb">
        <li>{{'店铺分销'|translate}}</li>
        <li>列表
            <a href="#/storedistribution/add" class="sui-btn btn-primary">+{{'add_new'|translate}}</a>
        </li>

        <span class="sui-form sui-form pull-right">
            <span>
              
            </span>
        </span>
    </ul>
    <table class="sui-table table-bordered">
        <thead>
            <tr>
                <th>{{'#'|translate}}</th>
                <th>{{'店铺名称'|translate}}</th>
                <th>{{'分组'|translate}}</th>
                <!-- <th>{{'r1账号'|translate}}</th>
                <th>{{'r2账号'|translate}}</th>
                <th>{{'r3账号'|translate}}</th>
                <th>{{'r4账号'|translate}}</th>
                <th>{{'r5账号'|translate}}</th> -->
                <th>类型</th>
                <th>{{'created_at'|translate}}</th>
                <th>{{'operation'|translate}}</th>
            </tr>
        </thead>
        <tbody>
            <tr ng-repeat="list in storeList">
                <td>{{list.fs_id}}</td>
                <td>
                    <store-list ng-model="list.store_id" stype="1" home="1"></store-list>
                </td>
                <td>
                    <fzgroup-get ng-model="list.fz_group_id" stype="1"></fzgroup-get>
                </td>
                <td>
                    <span ng-show="list.fz_type == 1">微信</span>
                    <span ng-show="list.fz_type == 2">银联</span>
                    <span ng-show="list.fz_type == 3">新生</span>
                </td>
                <!-- <td>{{list.z1name}}</td>
                <td>{{list.z2name}}</td>
                <td>{{list.z3name}}</td>
                <td>{{list.z4name}}</td>
                <td>{{list.z5name}}</td> -->
                <td>{{list.created_time}}</td>
                <td>
                    <a href="#/storedistribution/add?fs_id={{list.fs_id}}" class="sui-btn btn-primary">{{'edit'|translate}}</a>
                    <!-- <a href="#/storedistribution/item?fs_id={{list.fs_id}}" class="sui-btn btn-primary">{{'设置分账比例'|translate}}</a> -->
                </td>
            </tr>
        </tbody>
    </table>
    <pager page-no="1" page-size="pageSize" total="storeTotal" get-data="getstoreList(pageNo)"></pager>
</div>